package com.xpec.c4.service.module.datacenter;

/**
 * DataCenter 的Manager使用的结构
 * @author yangbingyan
 *
 */
public class DataElement {

	/**
	 * 允许被操作的形态
	 */
	protected int modifyTypes;
	
	/**
	 * 
	 */
	protected int managerTypes;
	
	/**
	 * 資料的屬性
	 * @see com.xpec.c4.service.module.data.DataAttribute
	 */
	protected int attributes;
	
	/**
	 * module id
	 */
	protected String ownerID;
	
	/**
	 * 前一次做操作的时间
	 */
	protected long modifyTime;
	
	/**
	 * 被修改过, 尚未存储
	 */
	protected boolean modified;
	
	/**
	 * 
	 */
	protected Object data;
	

	public int getModifyTypes() {
		return modifyTypes;
	}

	public void setModifyTypes(int modifyTypes) {
		this.modifyTypes = modifyTypes;
	}

	public int getManagerTypes() {
		return managerTypes;
	}

	public void setManagerTypes(int managerTypes) {
		this.managerTypes = managerTypes;
	}

	public int getAttributes() {
		return attributes;
	}

	public void setAttributes(int attributes) {
		this.attributes = attributes;
	}

	public String getOwnerID() {
		return ownerID;
	}

	public void setOwnerID(String ownerID) {
		this.ownerID = ownerID;
	}

	public long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		this.modifyTime = modifyTime;
	}

	public boolean isModified() {
		return modified;
	}

	public void setModified(boolean modified) {
		this.modified = modified;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}
